package com.dylan.channel.v11.handler;

public class DefaultChannelHandlerContext extends AbstractChannelHandlerContext {

    private final ChannelHandler handler;


    DefaultChannelHandlerContext(DefaultChannelPipeline pipeline, ChannelHandler handler) {
        super(pipeline, handler.getClass());
        this.handler = handler;
    }

    @Override
    public ChannelHandler handler() {
        return handler;
    }
}
